package cn.wolfcode.trip.base.util;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JSONResult {

    private boolean success = true;
    private String msg;

    //用于存储登录成功后返回给静态页面的用户数据
    private Object data;


    public JSONResult mark(String msg){
        success = false;
        this.msg = msg;
        return this;
    }

}
